package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author 肖守凯
 * @since 2020-08-24
 */
@Data
@TableName("wechat_personal")
@ApiModel(value="WechatPersonal对象", description="")
public class WechatPersonal extends Model<WechatPersonal> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "个人信息ID")
    @TableId(value = "personal_id", type = IdType.AUTO)
    private Integer personalId;

    @ApiModelProperty(value = "名字")
    @TableField("personal_name")
    private String personalName;

    @ApiModelProperty(value = "求职状态 类型ID")
    @TableField("label_id")
    private String labelId;

    @ApiModelProperty(value = "0男/1女")
    @TableField("personal_gender")
    private Integer personalGender;

    @ApiModelProperty(value = "开始工作时间")
    @TableField("personal_start_time")
    private String personalStartTime;

    @ApiModelProperty(value = "生日")
    @TableField("personal_birthday")
    private String personalBirthday;

    @ApiModelProperty(value = "微信号")
    @TableField("personal_wechar_number")
    private String personalWecharNumber;

    @ApiModelProperty(value = "电话")
    @TableField("personal_phone")
    private String personalPhone;

    @ApiModelProperty(value = "邮箱")
    @TableField("personal_email")
    private String personalEmail;

    @ApiModelProperty(value = "职位名称ID")
    @TableField("personal_position_id")
    private Integer personalPositionId;

    @ApiModelProperty(value = "修改时间")
    @TableField(value="personal_update_time",fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(value="personal_create_time",fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty(value = "用户头像")
    @TableField("personal_photo")
    private String personalPhoto;

    public Integer getPersonalId() {
        return personalId;
    }

    public void setPersonalId(Integer personalId) {
        this.personalId = personalId;
    }
    public String getPersonalName() {
        return personalName;
    }

    public void setPersonalName(String personalName) {
        this.personalName = personalName;
    }
    public String getLabelId() {
        return labelId;
    }

    public void setLabelId(String labelId) {
        this.labelId = labelId;
    }
    public Integer getPersonalGender() {
        return personalGender;
    }

    public void setPersonalGender(Integer personalGender) {
        this.personalGender = personalGender;
    }
    public String getPersonalStartTime() {
        return personalStartTime;
    }

    public void setPersonalStartTime(String personalStartTime) {
        this.personalStartTime = personalStartTime;
    }
    public String getPersonalBirthday() {
        return personalBirthday;
    }

    public void setPersonalBirthday(String personalBirthday) {
        this.personalBirthday = personalBirthday;
    }
    public String getPersonalWecharNumber() {
        return personalWecharNumber;
    }

    public void setPersonalWecharNumber(String personalWecharNumber) {
        this.personalWecharNumber = personalWecharNumber;
    }
    public String getPersonalPhone() {
        return personalPhone;
    }

    public void setPersonalPhone(String personalPhone) {
        this.personalPhone = personalPhone;
    }
    public String getPersonalEmail() {
        return personalEmail;
    }

    public void setPersonalEmail(String personalEmail) {
        this.personalEmail = personalEmail;
    }
    public Integer getPersonalPositionId() {
        return personalPositionId;
    }

    public String getPersonalPhoto() {
        return personalPhoto;
    }

    public void setPersonalPhoto(String personalPhoto) {
        this.personalPhoto = personalPhoto;
    }

    @Override
    protected Serializable pkVal() {
        return this.personalId;
    }


}
